<?php
namespace eagle\modules\util\helpers;

class StandardConst {
	/**********************************************************************************
	* Const description: This is list for international country short codes.
	*                    Each one is to mapped a contry. 
	*                    This code is used for internaltional post or internet domain 
	*                    names. We can store and get this for address informations
	***********************************************************************************/	
	public static $COUNTRIES_NAME_EN_CODE = '';
	
	public static function getNationChineseNameByCode($code){
		if (isset(self::$COUNTRIES_CODE_NAME_CN[$code]))
			return self::$COUNTRIES_CODE_NAME_CN[$code];
		else
			return ""; 
	}
	
	public static function getNationEnglishNameByCode($code){
		if (isset(self::$COUNTRIES_CODE_NAME_EN[$code]))
			return self::$COUNTRIES_CODE_NAME_EN[$code];
		else
			return "";
	}
	
	//每1外汇兑人民币汇率
	public static $EXCHANGE_RATE_OF_RMB = array(
			'USD'=>6.4870,
			'GBP'=>9.2167,
			'EUR'=>7.2732,
			'CNY'=>1,
			'RMB'=>1,
			
	);
	
	public static $COUNTRIES_CODE_NAME_EN = array(
			'--' => 'Unknown',
			'AC' => 'Ascension Island',
			'AD' => 'Andorra',
			'AE' => 'United Arab Emirates',
			'AF' => 'Afghanistan',
			'AG' => 'Antigua and Barbuda',
			'AI' => 'Anguilla',
			'AL' => 'Albania',
			'AM' => 'Armenia',
			'AN' => 'Netherlands Antilles',
			'AO' => 'Angola',
			'AQ' => 'Antarctica',
			'AR' => 'Argentina',
			'AS' => 'American Samoa',
			'AT' => 'Austria',
			'AU' => 'Australia',
			'AW' => 'Aruba',
			'AX' => 'Aland Islands',
			'AZ' => 'Azerbaijan',
			'BA' => 'Bosnia and Herzegovina',
			'BB' => 'Barbados',
			'BD' => 'Bangladesh',
			'BE' => 'Belgium',
			'BF' => 'Burkina Faso',
			'BG' => 'Bulgaria',
			'BH' => 'Bahrain',
			'BI' => 'Burundi',
			'BJ' => 'Benin',
			'BM' => 'Bermuda',
			'BN' => 'Brunei Darussalam',
			'BO' => 'Bolivia',
			'BR' => 'Brazil',
			'BS' => 'Bahamas',
			'BT' => 'Bhutan',
			'BV' => 'Bouvet Island',
			'BW' => 'Botswana',
			'BY' => 'Belarus',
			'BZ' => 'Belize',
			'CA' => 'Canada',
			'CC' => 'Cocos (Keeling) Islands',
			'CD' => 'Congo, Democratic Republic',
			'CF' => 'Central African Republic',
			'CG' => 'Congo',
			'CH' => 'Switzerland',
			'CI' => 'Cote D`Ivoire (Ivory Coast)',
			'CK' => 'Cook Islands',
			'CL' => 'Chile',
			'CM' => 'Cameroon',
			'CN' => 'China',
			'CO' => 'Colombia',
			'CR' => 'Costa Rica',
			'CS' => 'Czechoslovakia (former)',
			'CU' => 'Cuba',
			'CV' => 'Cape Verde',
			'CX' => 'Christmas Island',
			'CY' => 'Cyprus',
			'CZ' => 'Czech Republic',
			'DE' => 'Germany',
			'DJ' => 'Djibouti',
			'DK' => 'Denmark',
			'DM' => 'Dominica',
			'DO' => 'Dominican Republic',
			'DZ' => 'Algeria',
			'EC' => 'Ecuador',
			'EE' => 'Estonia',
			'EG' => 'Egypt',
			'EH' => 'Western Sahara',
			'ER' => 'Eritrea',
			'ES' => 'Spain',
			'ET' => 'Ethiopia',
			'EU' => 'European Union',
			'FI' => 'Finland',
			'FJ' => 'Fiji',
			'FK' => 'Falkland Islands (Malvinas)',
			'FM' => 'Micronesia',
			'FO' => 'Faroe Islands',
			'FR' => 'France',
			'FX' => 'France, Metropolitan',
			'GA' => 'Gabon',
			'GB' => 'Great Britain (UK)',
			'GD' => 'Grenada',
			'GE' => 'Georgia',
			'GF' => 'French Guiana',
			'GG' => 'Guernsey',
			'GH' => 'Ghana',
			'GI' => 'Gibraltar',
			'GL' => 'Greenland',
			'GM' => 'Gambia',
			'GN' => 'Guinea',
			'GP' => 'Guadeloupe',
			'GQ' => 'Equatorial Guinea',
			'GR' => 'Greece',
			'GS' => 'S. Georgia and S. Sandwich Isls.',
			'GT' => 'Guatemala',
			'GU' => 'Guam',
			'GW' => 'Guinea',
			'GY' => 'Guyana',
			'HK' => 'Hong Kong',
			'HM' => 'Heard and McDonald Islands',
			'HN' => 'Honduras',
			'HR' => 'Croatia (Hrvatska)',
			'HT' => 'Haiti',
			'HU' => 'Hungary',
			'ID' => 'Indonesia',
			'IE' => 'Ireland',
			'IL' => 'Israel',
			'IM' => 'Isle of Man',
			'IN' => 'India',
			'IO' => 'British Indian Ocean Territory',
			'IQ' => 'Iraq',
			'IR' => 'Iran',
			'IS' => 'Iceland',
			'IT' => 'Italy',
			'JE' => 'Jersey',
			'JM' => 'Jamaica',
			'JO' => 'Jordan',
			'JP' => 'Japan',
			'KE' => 'Kenya',
			'KG' => 'Kyrgyzstan',
			'KH' => 'Cambodia',
			'KI' => 'Kiribati',
			'KM' => 'Comoros',
			'KN' => 'Saint Kitts and Nevis',
			'KP' => 'Korea (North)',
			'KR' => 'Korea (South)',
			'KW' => 'Kuwait',
			'KY' => 'Cayman Islands',
			'KZ' => 'Kazakhstan',
			'LA' => 'Laos',
			'LB' => 'Lebanon',
			'LC' => 'Saint Lucia',
			'LI' => 'Liechtenstein',
			'LK' => 'Sri Lanka',
			'LR' => 'Liberia',
			'LS' => 'Lesotho',
			'LT' => 'Lithuania',
			'LU' => 'Luxembourg',
			'LV' => 'Latvia',
			'LY' => 'Libya',
			'MA' => 'Morocco',
			'MC' => 'Monaco',
			'MD' => 'Moldova',
			'ME' => 'Montenegro',
			'MF' => 'Saint Martin',
			'MG' => 'Madagascar',
			'MH' => 'Marshall Islands',
			'MK' => 'F.Y.R.O.M. (Macedonia)',
			'ML' => 'Mali',
			'MM' => 'Myanmar',
			'MN' => 'Mongolia',
			'MO' => 'Macau',
			'MP' => 'Northern Mariana Islands',
			'MQ' => 'Martinique',
			'MR' => 'Mauritania',
			'MS' => 'Montserrat',
			'MT' => 'Malta',
			'MU' => 'Mauritius',
			'MV' => 'Maldives',
			'MW' => 'Malawi',
			'MX' => 'Mexico',
			'MY' => 'Malaysia',
			'MZ' => 'Mozambique',
			'NA' => 'Namibia',
			'NC' => 'New Caledonia',
			'NE' => 'Niger',
			'NF' => 'Norfolk Island',
			'NG' => 'Nigeria',
			'NI' => 'Nicaragua',
			'NL' => 'Netherlands',
			'NO' => 'Norway',
			'NP' => 'Nepal',
			'NR' => 'Nauru',
			'NT' => 'Neutral Zone',
			'NU' => 'Niue',
			'NZ' => 'New Zealand (Aotearoa)',
			'OM' => 'Oman',
			'PA' => 'Panama',
			'PE' => 'Peru',
			'PF' => 'French Polynesia',
			'PG' => 'Papua New Guinea',
			'PH' => 'Philippines',
			'PK' => 'Pakistan',
			'PL' => 'Poland',
			'PM' => 'St. Pierre and Miquelon',
			'PN' => 'Pitcairn',
			'PR' => 'Puerto Rico',
			'PS' => 'Palestinian Territory, Occupied',
			'PT' => 'Portugal',
			'PW' => 'Palau',
			'PY' => 'Paraguay',
			'QA' => 'Qatar',
			'RE' => 'Reunion',
			'RS' => 'Serbia',
			'RO' => 'Romania',
			'RU' => 'Russian Federation',
			'RW' => 'Rwanda',
			'SA' => 'Saudi Arabia',
			'SB' => 'Solomon Islands',
			'SC' => 'Seychelles',
			'SD' => 'Sudan',
			'SE' => 'Sweden',
			'SG' => 'Singapore',
			'SH' => 'St. Helena',
			'SI' => 'Slovenia',
			'SJ' => 'Svalbard & Jan Mayen Islands',
			'SK' => 'Slovak Republic',
			'SL' => 'Sierra Leone',
			'SM' => 'San Marino',
			'SN' => 'Senegal',
			'SO' => 'Somalia',
			'SR' => 'Suriname',
			'SS' => 'South Sudan',
			'ST' => 'Sao Tome and Principe',
			'SU' => 'USSR (former)',
			'SV' => 'El Salvador',
			'SY' => 'Syria',
			'SZ' => 'Swaziland',
			'TC' => 'Turks and Caicos Islands',
			'TD' => 'Chad',
			'TF' => 'French Southern Territories',
			'TG' => 'Togo',
			'TH' => 'Thailand',
			'TJ' => 'Tajikistan',
			'TK' => 'Tokelau',
			'TM' => 'Turkmenistan',
			'TN' => 'Tunisia',
			'TO' => 'Tonga',
			'TP' => 'East Timor',
			'TR' => 'Turkey',
			'TT' => 'Trinidad and Tobago',
			'TV' => 'Tuvalu',
			'TW' => 'Taiwan',
			'TZ' => 'Tanzania',
			'UA' => 'Ukraine',
			'UG' => 'Uganda',
			'UK' => 'United Kingdom',
			'UM' => 'US Minor Outlying Islands',
			'US' => 'United States',
			'UY' => 'Uruguay',
			'UZ' => 'Uzbekistan',
			'VA' => 'Vatican City State (Holy See)',
			'VC' => 'Saint Vincent & the Grenadines',
			'VE' => 'Venezuela',
			'VG' => 'British Virgin Islands',
			'VI' => 'Virgin Islands (U.S.)',
			'VN' => 'Viet Nam',
			'VU' => 'Vanuatu',
			'WF' => 'Wallis and Futuna Islands',
			'WS' => 'Samoa',
			'XK' => 'Kosovo*',
			'YE' => 'Yemen',
			'YT' => 'Mayotte',
			'YU' => 'Serbia and Montenegro (former Yugoslavia)',
			'ZA' => 'South Africa',
			'ZM' => 'Zambia',
			'ZR' => 'Zaire',
			'ZW' => 'Zimbabwe'
 ); 	
	public static $LANGUAGES_CODE_NAME_CN = array(
	    '--' => '未知',
	    'cn' => '中文',
	    'en' => '英语',
	    'es' => '西班牙语',
	    'fr' => '法语',
	    'it' => '意大利语',
	    'pt' => '葡萄牙语',
	    'de' => '德语',
	    'be' => '白俄罗斯语',
	    'cs' => '捷克语',
	    'da' => '丹麦语',
	    'nl' => '荷兰语',
	    'et' => '爱沙尼亚语',
	    'fi' => '芬兰语',
	    'el' => '希腊语',
	    'hu' => '匈牙利语',
	    'id' => '印度尼西亚语',
	    'ja' => '日语',
	    'ko' => '朝鲜语',
	    'lt' => '立陶宛语',
	    'nb' => '挪威语',
	    'ro' => '罗马尼亚语',
	    'ru' => '俄语',
	    'sk' => '斯洛伐克语',
	    'sl' => '斯洛文尼亚语',
	    'sv' => '瑞典语',
	    'th' => '泰语',
	    'tr' => '土耳其语',
	    'vi' => '越南语',
	    'ar' => '阿拉伯语',
	    'hr' => '克罗地亚语'
	    
	);
	
	public static $LANGUAGES_CODE_NAME_EN = array(
	    '--' => '未知',
	    'cn' => 'Chinese',
	    'en' => 'English',
	    'es' => 'Spanish',
	    'fr' => 'French',
	    'it' => 'Italian',
	    'pt' => 'Portuguese',
	    'de' => 'German',
	    'be' => 'Belarusian',
	    'cs' => 'Czech',
	    'da' => 'Danish',
	    'nl' => 'Dutch',
	    'et' => 'Estonian',
	    'fi' => 'Finnish',
	    'el' => 'Greek',
	    'hu' => 'Hungarian',
	    'id' => 'Indonesian',
	    'ja' => 'Japanese',
	    'ko' => 'Korean',
	    'lt' => 'Lithuanian',
	    'nb' => 'Norwegian',
	    'ro' => 'Romanian',
	    'ru' => 'Russian',
	    'sk' => 'Slovak',
	    'sl' => 'Slovenian',
	    'sv' => 'Swedish',
	    'th' => 'Thai',
	    'tr' => 'Turkish',
	    'vi' => 'Vietnamese',
	    'ar' => 'Arabic',
	    'hr' => 'Croatian'
	        
	);
	
	public static $COUNTRIES_CODE_NAME_CN = array(
			'--' => '未知',
			'AC'=>'阿森松岛',
'AD'=>'安道尔共和国',
'AE'=>'阿拉伯联合酋长国',
'AF'=>'阿富汗',
'AG'=>'安提瓜和巴布达',
'AI'=>'安圭拉岛',
'AL'=>'阿尔巴尼亚',
'AM'=>'亚美尼亚',
'AN'=>'荷属安的列斯',
'AO'=>'安哥拉',
'AQ'=>'南极洲',
'AR'=>'阿根廷',
'AS'=>'美属萨摩亚',
'AT'=>'奥地利',
'AU'=>'澳大利亚',
'AW'=>'阿鲁巴',
'AX'=>'奥兰群岛',
'AZ'=>'阿塞拜疆',
'BA'=>'波斯尼亚和黑塞哥维那',
'BB'=>'巴巴多斯',
'BD'=>'孟加拉国',
'BE'=>'比利时',
'BF'=>'布基纳法索',
'BG'=>'保加利亚',
'BH'=>'巴林',
'BI'=>'布隆迪',
'BJ'=>'贝宁',
'BM'=>'百慕大群岛',
'BN'=>'文莱',
'BO'=>'玻利维亚',
'BR'=>'巴西',
'BS'=>'巴哈马',
'BT'=>'不丹',
'BV'=>'布维岛',
'BW'=>'博茨瓦纳',
'BY'=>'白俄罗斯',
'BZ'=>'伯利兹',
'CA'=>'加拿大',
'CC'=>'科科斯群岛',
'CD'=>'刚果民主共和国',
'CF'=>'中非共和国',
'CG'=>'刚果',
'CH'=>'瑞士',
'CI'=>'科特迪瓦D`Ivoire（象牙海岸）',
'CK'=>'库克群岛',
'CL'=>'智利',
'CM'=>'喀麦隆',
'CN'=>'中国',
'CO'=>'哥伦比亚',
'CR'=>'哥斯达黎加',
'CS'=>'捷克斯洛伐克（前）',
'CU'=>'古巴',
'CV'=>'佛得角',
'CX'=>'圣诞岛',
'CY'=>'塞浦路斯',
'CZ'=>'捷克',
'DE'=>'德国',
'DJ'=>'吉布提',
'DK'=>'丹麦',
'DM'=>'多米尼加',
'DO'=>'多米尼加共和国',
'DZ'=>'阿尔及利亚',
'EC'=>'厄瓜多尔',
'EE'=>'爱沙尼亚',
'EG'=>'埃及',
'EH'=>'西撒哈拉',
'ER'=>'厄立特里亚',
'ES'=>'西班牙',
'ET'=>'埃塞俄比亚',
'EU'=>'欧洲联盟',
'FI'=>'芬兰',
'FJ'=>'斐济',
'FK'=>'福克兰群岛（马尔维纳斯）',
'FM'=>'密克罗尼西亚',
'FO'=>'法罗群岛',
'FR'=>'法国',
'FX'=>'法国本土',
'GA'=>'加蓬',
'GB'=>'英国',
'GD'=>'格林纳达',
'GE'=>'格鲁吉亚',
'GF'=>'法属圭亚那',
'GG'=>'格恩西岛',
'GH'=>'加纳',
'GI'=>'直布罗陀',
'GL'=>'格陵兰',
'GM'=>'冈比亚',
'GN'=>'几内亚',
'GP'=>'瓜德罗普岛',
'GQ'=>'赤道几内亚',
'GR'=>'希腊',
'GS'=>'南乔治亚和S.三明治曼群岛。',
'GT'=>'危地马拉',
'GU'=>'关岛',
'GW'=>'几内亚',
'GY'=>'圭亚那',
'HK'=>'香港',
'HM'=>'赫德岛',
'HN'=>'洪都拉斯',
'HR'=>'克罗地亚（赫尔瓦）',
'HT'=>'海地',
'HU'=>'匈牙利',
'ID'=>'印度尼西亚',
'IE'=>'爱尔兰',
'IL'=>'以色列',
'IM'=>'马恩岛',
'IN'=>'印度',
'IO'=>'英属印度洋领地',
'IQ'=>'伊拉克',
'IR'=>'伊朗',
'IS'=>'冰岛',
'IT'=>'意大利',
'JE'=>'新泽西州',
'JM'=>'牙买加',
'JO'=>'约旦',
'JP'=>'日本',
'KE'=>'肯尼亚',
'KG'=>'吉尔吉斯坦',
'KH'=>'柬埔寨',
'KI'=>'基里巴斯',
'KM'=>'科摩罗',
'KN'=>'圣基茨和尼维斯',
'KP'=>'朝鲜',
'KR'=>'韩国',
'KW'=>'科威特',
'KY'=>'开曼群岛',
'KZ'=>'哈萨克斯坦',
'LA'=>'老挝',
'LB'=>'黎巴嫩',
'LC'=>'圣卢西亚',
'LI'=>'列支敦士登',
'LK'=>'斯里兰卡',
'LR'=>'利比里亚',
'LS'=>'莱索托',
'LT'=>'立陶宛',
'LU'=>'卢森堡',
'LV'=>'拉脱维亚',
'LY'=>'利比亚',
'MA'=>'摩洛哥',
'MC'=>'摩纳哥',
'MD'=>'摩尔多瓦',
'ME'=>'黑山共和国',
'MF'=>'圣马丁',
'MG'=>'马达加斯加',
'MH'=>'马绍尔群岛',
'MK'=>'F.Y.R.O.M. （马其顿）',
'ML'=>'马里',
'MM'=>'缅甸',
'MN'=>'蒙古',
'MO'=>'澳门',
'MP'=>'北马里亚纳群岛',
'MQ'=>'马提尼克',
'MR'=>'毛里塔尼亚',
'MS'=>'蒙特塞拉特岛',
'MT'=>'马耳他',
'MU'=>'毛里求斯',
'MV'=>'马尔代夫',
'MW'=>'马拉维',
'MX'=>'墨西哥',
'MY'=>'马来西亚',
'MZ'=>'莫桑比克',
'NA'=>'纳米比亚',
'NC'=>'新喀里多尼亚',
'NE'=>'尼日尔',
'NF'=>'诺福克岛',
'NG'=>'尼日利亚',
'NI'=>'尼加拉瓜',
'NL'=>'荷兰',
'NO'=>'挪威',
'NP'=>'尼泊尔',
'NR'=>'瑙鲁',
'NT'=>'中立区',
'NU'=>'纽埃',
'NZ'=>'新西兰',
'OM'=>'阿曼',
'PA'=>'巴拿马',
'PE'=>'秘鲁',
'PF'=>'法属玻利尼西亚',
'PG'=>'巴布亚新几内亚',
'PH'=>'菲律宾',
'PK'=>'巴基斯坦',
'PL'=>'波兰',
'PM'=>'圣皮埃尔和密克隆',
'PN'=>'皮特凯恩',
'PR'=>'波多黎各',
'PS'=>'巴勒斯坦地区',
'PT'=>'葡萄牙',
'PW'=>'帕劳',
'PY'=>'巴拉圭',
'QA'=>'卡塔尔',
'RE'=>'团圆',
'RS'=>'塞尔维亚',
'RO'=>'罗马尼亚',
'RU'=>'俄罗斯',
'RW'=>'卢旺达',
'SA'=>'沙特阿拉伯',
'SB'=>'所罗门群岛',
'SC'=>'塞舌尔',
'SD'=>'苏丹',
'SE'=>'瑞典',
'SG'=>'新加坡',
'SH'=>'圣赫勒拿',
'SI'=>'斯洛文尼亚',
'SJ'=>'斯瓦尔巴群岛和扬马延岛',
'SK'=>'斯洛伐克',
'SL'=>'塞拉利昂',
'SM'=>'圣马力诺',
'SN'=>'塞内加尔',
'SO'=>'索马里',
'SR'=>'苏里南',
'SS'=>'南苏丹',
'ST'=>'圣多美和普林西比',
'SU'=>'苏联（前）',
'SV'=>'萨尔瓦多',
'SY'=>'叙利亚',
'SZ'=>'斯威士兰',
'TC'=>'特克斯和凯科斯群岛',
'TD'=>'乍得',
'TF'=>'法国南部领土',
'TG'=>'多哥',
'TH'=>'泰国',
'TJ'=>'塔吉克斯坦',
'TK'=>'托克劳',
'TM'=>'土库曼斯坦',
'TN'=>'突尼斯',
'TO'=>'汤加',
'TP'=>'东帝汶',
'TR'=>'土耳其',
'TT'=>'特立尼达和多巴哥',
'TV'=>'图瓦卢',
'TW'=>'台湾省',
'TZ'=>'坦桑尼亚',
'UA'=>'乌克兰',
'UG'=>'乌干达',
'UK'=>'英国',
'UM'=>'马约特岛',
'US'=>'美国',
'UY'=>'乌拉圭',
'UZ'=>'乌兹别克斯坦',
'VA'=>'梵蒂冈城国（教廷）',
'VC'=>'圣文森特岛',
'VE'=>'委内瑞拉',
'VG'=>'英属维尔京群岛',
'VI'=>'维尔京群岛（美国）',
'VN'=>'越南',
'VU'=>'瓦努阿图',
'WF'=>'瓦利斯和富图纳群岛',
'WS'=>'萨摩亚',
'XK'=>'科索沃*',
'YE'=>'也门',
'YT'=>'马约特',
'YU'=>'南斯拉夫',
'ZA'=>'南非',
'ZM'=>'赞比',
'ZR'=>'扎伊尔',
'ZW'=>'津巴布韦'			
	);
	
	public static $COUNTRIES_CODE_PHONE_PREFIX = array(
			'AO'=>'244',
			'AF'=>'93',
			'AL'=>'355',
			'DZ'=>'213',
			'AD'=>'376',
			'AI'=>'1264',
			'AG'=>'1268',
			'AR'=>'54',
			'AM'=>'374',
			'AU'=>'61',
			'AT'=>'43',
			'AZ'=>'994',
			'BS'=>'1242',
			'BH'=>'973',
			'BD'=>'880',
			'BB'=>'1246',
			'BY'=>'375',
			'BE'=>'32',
			'BZ'=>'501',
			'BJ'=>'229',
			'BM'=>'1441',
			'BO'=>'591',
			'BW'=>'267',
			'BR'=>'55',
			'BN'=>'673',
			'BG'=>'359',
			'BF'=>'226',
			'MM'=>'95',
			'BI'=>'257',
			'CM'=>'237',
			'CA'=>'1',
			'CF'=>'236',
			'TD'=>'235',
			'CL'=>'56',
			'CN'=>'86',
			'CO'=>'57',
			'CG'=>'242',
			'CK'=>'682',
			'CR'=>'506',
			'CU'=>'53',
			'CY'=>'357',
			'CZ'=>'420',
			'DK'=>'45',
			'DJ'=>'253',
			'DO'=>'1890',
			'EC'=>'593',
			'EG'=>'20',
			'SV'=>'503',
			'EE'=>'372',
			'ET'=>'251',
			'FJ'=>'679',
			'FI'=>'358',
			'FR'=>'33',
			'GF'=>'594',
			'GA'=>'241',
			'GM'=>'220',
			'GE'=>'995',
			'DE'=>'49',
			'GH'=>'233',
			'GI'=>'350',
			'GR'=>'30',
			'GD'=>'1809',
			'GU'=>'1671',
			'GT'=>'502',
			'GN'=>'224',
			'GY'=>'592',
			'HT'=>'509',
			'HN'=>'504',
			'HK'=>'852',
			'HU'=>'36',
			'IS'=>'354',
			'IN'=>'91',
			'ID'=>'62',
			'IR'=>'98',
			'IQ'=>'964',
			'IE'=>'353',
			'IL'=>'972',
			'IT'=>'39',
			'JM'=>'1876',
			'JP'=>'81',
			'JO'=>'962',
			'KH'=>'855',
			'KZ'=>'327',
			'KE'=>'254',
			'KR'=>'82',
			'KW'=>'965',
			'KG'=>'331',
			'LA'=>'856',
			'LV'=>'371',
			'LB'=>'961',
			'LS'=>'266',
			'LR'=>'231',
			'LY'=>'218',
			'LI'=>'423',
			'LT'=>'370',
			'LU'=>'352',
			'MO'=>'853',
			'MG'=>'261',
			'MW'=>'265',
			'MY'=>'60',
			'MV'=>'960',
			'ML'=>'223',
			'MT'=>'356',
			'MU'=>'230',
			'MX'=>'52',
			'MD'=>'373',
			'MC'=>'377',
			'MN'=>'976',
			'MS'=>'1664',
			'MA'=>'212',
			'MZ'=>'258',
			'NA'=>'264',
			'NR'=>'674',
			'NP'=>'977',
			'NL'=>'31',
			'NZ'=>'64',
			'NI'=>'505',
			'NE'=>'227',
			'NG'=>'234',
			'KP'=>'850',
			'NO'=>'47',
			'OM'=>'968',
			'PK'=>'92',
			'PA'=>'507',
			'PG'=>'675',
			'PY'=>'595',
			'PE'=>'51',
			'PH'=>'63',
			'PL'=>'48',
			'PF'=>'689',
			'PT'=>'351',
			'PR'=>'1787',
			'QA'=>'974',
			'RO'=>'40',
			'RU'=>'7',
			'LC'=>'1758',
			'VC'=>'1784',
			'SM'=>'378',
			'ST'=>'239',
			'SA'=>'966',
			'SN'=>'221',
			'SC'=>'248',
			'SL'=>'232',
			'SG'=>'65',
			'SK'=>'421',
			'SI'=>'386',
			'SB'=>'677',
			'SO'=>'252',
			'ZA'=>'27',
			'ES'=>'34',
			'LK'=>'94',
			'LC'=>'1758',
			'VC'=>'1784',
			'SD'=>'249',
			'SR'=>'597',
			'SZ'=>'268',
			'SE'=>'46',
			'CH'=>'41',
			'SY'=>'963',
			'TW'=>'886',
			'TJ'=>'992',
			'TZ'=>'255',
			'TH'=>'66',
			'TG'=>'228',
			'TO'=>'676',
			'TT'=>'1809',
			'TN'=>'216',
			'TR'=>'90',
			'TM'=>'993',
			'UG'=>'256',
			'UA'=>'380',
			'AE'=>'971',
			'GB'=>'44',
			'US'=>'1',
			'UY'=>'598',
			'UZ'=>'233',
			'VE'=>'58',
			'VN'=>'84',
			'YE'=>'967',
			'YU'=>'381',
			'ZW'=>'263',
			'ZR'=>'243',
			'ZM'=>'260'
	);
	
	//货币对应符号
	public static $CurrencyInfo = array(
		'EUR'=>array('country'=>'欧盟','CN_name'=>'欧元','EN_name'=>'euro','符号'=>'€','标准符号'=>'EUR','html'=>'&#8364;'),
		'HKD'=>array('country'=>'中国香港','CN_name'=>'港元','EN_name'=>'HongKong Dollars','符号'=>'HK$','标准符号'=>'HKD','html'=>'HK$'),
		'MOP'=>array('country'=>'中国澳门','CN_name'=>'澳门元','EN_name'=>'Macao Pataca','符号'=>'P.','标准符号'=>'MOP','html'=>'MOP'),
		'CNY'=>array('country'=>'中国','CN_name'=>'人民币元','EN_name'=>'Renminbi Yuan','符号'=>'RMB￥','标准符号'=>'CNY','html'=>'RMB&#165;'),
		'KPW'=>array('country'=>'朝鲜','CN_name'=>'圆','EN_name'=>'Korean Won','符号'=>'','标准符号'=>'KPW','html'=>'KPW'),
		'VND'=>array('country'=>'越南','CN_name'=>'越南盾','EN_name'=>'Vietnamese Dong','符号'=>'D.','标准符号'=>'VND','html'=>'VND'),
		'JPY'=>array('country'=>'日本','CN_name'=>'日圆','EN_name'=>'Japanese Yen','符号'=>'J.￥','标准符号'=>'JPY','html'=>'J.&#165;'),
		'SGD'=>array('country'=>'新加坡','CN_name'=>'新加坡元','EN_name'=>'Ssingapore Dollar','符号'=>'S.$','标准符号'=>'SGD','html'=>'SGD'),
		'SUR'=>array('country'=>'俄罗斯','CN_name'=>'卢布','EN_name'=>'Russian Ruble','符号'=>'Rbl.','标准符号'=>'SUR','html'=>'SUR'),
		'GBP'=>array('country'=>'英国','CN_name'=>'英镑','EN_name'=>'Pound','符号'=>'￡','标准符号'=>'GBP','html'=>'&#163;'),
		'CAD'=>array('country'=>'加拿大','CN_name'=>'加元','EN_name'=>'Canadian Dollar','符号'=>'Can.$','标准符号'=>'CAD','html'=>'CAD'),
		'USD'=>array('country'=>'美国','CN_name'=>'美元','EN_name'=>'U.S.Dollar','符号'=>'$','标准符号'=>'USD','html'=>'$'),
	);
	
	public static function getCurrencyInfoByCode($currency){
		if (isset(self::$CurrencyInfo[$currency]))
			return self::$CurrencyInfo[$currency];
		else
			return "";
	}
}//END OF CLASS

?>